package com.softserveinc.model;

/**
 * user model
 */

public class User {
    private int id;
    private String login;
    private String pass;
    private String email;
    private String salt;

    public User() {
    }
    public User(String login, String pass, String email){
        this.login = login;
        this.pass = pass;
        this.email = email;
    }
    public User(int id, String login, String pass, String email,String salt) {
        this.id = id;
        this.login = login;
        this.pass = pass;
        this.email = email;
        this.salt = salt;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
